home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
wtek0693.zip
/
OOPALLEY.ZIP
/
LINK.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-27
|
451b
|
20 lines
#include "Link.h"
#define THIS Link
#define BASE Object
DEFINE_CLASS(Link,Object);
Link::~Link()
{
if (next != (Link*)nil)
//DTerror("OOPS_DELLNK,DEFAULT,className(),next,this",className());
DTerror("Attempt to delete object with non-nil next ",className());
}
void Link::deepenShallowCopy()
{
next = (Link*)nil;
}
Object* Link::shallowCopy() const { shouldNotImplement("shallowCopy"); return 0; }